package com.dieusoft.box.info.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 集装箱管理
 * @Author: jeecg-boot
 * @Date: 2020-10-16
 * @Version: V1.0
 */
@ApiModel(value = "jzx_info对象", description = "集装箱管理")
@Data
@TableName("jzx_info")
public class JzxInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    @TableField(update = "now()")
    private java.util.Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**
     * 箱东代码
     */
    @Excel(name = "箱东代码", width = 15, dicCode = "soc")
    @Dict(dicCode = "soc")
    @ApiModelProperty(value = "箱东代码")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.lang.String containerCode;
    /**
     * 箱东名称
     */
    @Excel(name = "箱东名称", width = 15)
    @ApiModelProperty(value = "箱东名称")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.lang.String containerName;
    /**
     * 箱型
     */
    @Excel(name = "箱型", width = 15, dicCode = "box_type")
    @Dict(dicCode = "box_type")
    @ApiModelProperty(value = "箱型")
    private java.lang.String containerType;
    /**
     * 箱号
     */
    @Excel(name = "箱号", width = 15)
    @ApiModelProperty(value = "箱号")
    private java.lang.String containerNumber;
    /**
     * 客户业务编号
     */
    @Excel(name = "客户业务编号", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String customerBusinessNumber;
    /**
     * 新箱/旧箱
     */
    @Excel(name = "新箱/旧箱", width = 15, dicCode = "box_condition")
    @Dict(dicCode = "box_condition")
    @ApiModelProperty(value = "新箱/旧箱")
    private java.lang.Integer conditionType;
    /**
     * 送箱场地
     */
    @Excel(name = "送箱场地", width = 15)
    @ApiModelProperty(value = "送箱场地")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @Dict(dicCode = "id", dictTable = "yard_info", dicText = "yard_info_col")
    private java.lang.String containerPlace;
    /**
     * 进场时间
     */
    @Excel(name = "进场时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "进场时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.util.Date inTime;

    /**
     * 出场时间
     */
    @Excel(name = "出场时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "出场时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.util.Date outTime;
    /**
     * 总堆存天数
     */
    @Excel(name = "总堆存天数", width = 15)
    private Integer totalDepositDays;
    /**
     * 免费堆存天数
     */
    @Excel(name = "免费堆存天数", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer freeDepositDays;


    /**
     * 超期堆存天数
     */
    @Excel(name = "超期堆存天数", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer overstockingDays;

    /**
     * 超期堆存费
     */
    @Excel(name = "超期堆存费", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String overdueStorageFee;

    /**
     * 超期堆存费币种
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String overdueStorageFeeCurrency;
    /**
     * 超期堆存费手输
     */
    @Excel(name = "超期堆存费手输", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String overdueStorageFeeUnit;
    /**
     * 超期堆存费币种手输入
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String overdueStorageFeeUnitCurrency;

    /**
     * 备注
     */
    @Excel(name = "备注", width = 50)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String remark;

    /**
     * 备注
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String pol;
    /**
     * 目的港
     */
    @Excel(name = "目的港", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.lang.String pod;
//    /**
//     * 免费用箱时间
//     */
//    @Excel(name = "免费用箱时间", width = 15)
//    @ApiModelProperty(value = "免费用箱时间")
//    private java.lang.Integer freeTimes;
    /**
     * 标准用箱费
     */
    @Excel(name = "标准用箱费", width = 15)
    @ApiModelProperty(value = "标准用箱费")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.math.BigDecimal defaultCost;
    /**
     * 集装箱状态
     */
    @Excel(name = "集装箱状态", width = 15)
    @ApiModelProperty(value = "集装箱状态")
    private java.lang.Integer status;

    /**
     * 集装箱生产日期
     */
    @Excel(name = "集装箱生产日期", width = 20)
    @ApiModelProperty(value = "集装箱生产日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date productionDate;


    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @Excel(name = "起运港", width = 50)
    private String polDesc;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "目的港")
    private String podDesc;


}
